﻿using System.Web.Mvc;
using HiLand.Framework4.Permission.Attributes;
using HiLand.Utility.Entity;
using HiLand.Utility.Enums;

namespace GBFinance.Web.Areas.Broker.Controllers
{
    [UserAuthorize(UserTypes.Broker)]
    public class MainController : Controller
    {
        //
        // GET: /Broker/Main/

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult OperateResult(bool isSuccessful,string message)
        {
            LogicStatusInfo logicStatusInfo = new LogicStatusInfo() {  IsSuccessful= isSuccessful,Message= message};
            return View(logicStatusInfo);
        }
    }
}
